home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 107
/
Tiger_Disk_107_20xx_Tiger-Crew-Disk_de_Side_B.d64
/
track-racer ii
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
2KB
|
120 lines
1000 rem
1010 print"[147]"
1020 poke53280,0:poke53281,0
1030 rem
1040 rem
1050 fori=0to62:readj:poke832+i,j:next
1060 fori=0to62:readj:poke896+i,j:next
1070 v=53248
1075 gosub1720
1080 poke2040,13:pokev+21,1
1090 poke2041,14:pokev+40,8
1100 pokev+39,14
1110 pokev,150:pokev+1,180
1120 pokev+28,2
1130 rem
1140 s=54272:fori=0to24:pokes+i,0:next
1150 pokes+5,31:pokes+6,240
1160 pokes+24,15
1170 l=12:x=150:w=12
1180 poke646,14
1190 printchr$(147):se=0
1200 fori=1to20
1210 printtab(l)"^"spc(w)"^"
1220 next:pokev+31,0
1230 pokes+4,33:pokes,100:pokes+1,4
1240 printchr$(19)chr$(158)"punkte"
1250 printchr$(19)tab(28)"max."
1260 rem
1270 dir=1:ifrnd(1)<.5thendir=2
1280 se=se+1:q=q+1
1290 ifdir=1thenl=l-1
1300 ifl<10thenl=l+1
1310 ifdir=2thenl=l+1
1320 ifl>20thenl=l-1
1330 printchr$(19)chr$(17);
1340 printchr$(157)chr$(148)
1350 poke218,160
1360 printtab(l)"[166]"spc(w)"[166]"
1370 p=peek(56320)
1380 ifp=123thenz=1
1390 ifp=119thenz=2
1400 onzgosub1510,1530
1410 pokev,x
1420 printchr$(19)tab(6);se
1430 ifse>hithenhi=se
1440 printchr$(19)tab(34);hi
1450 ifq=100thenw=w-1:q=0
1460 ifpeek(v+31)and1=1then1560
1470 pokev+31,0
1480 ifw=8thenw=12
1490 goto1270
1500 rem
1510 x=x-4:ifx<10thenx=10
1520 return
1530 x=x+4:ifx>250thenx=250
1540 return
1550 rem
1560 pokev+21,2
1570 pokev+2,x:pokev+3,180
1580 forb=15to0step-.2:pokes+1,2+b
1590 pokes+4,129:pokes+24,b
1600 pokev+37,int(rnd(ti)*14)
1610 pokev+38,int(rnd(ti)*14)
1620 next:pokes+4,0
1630 pokev+21,0
1640 rem
1650 printchr$(19)
1660 poke646,int(rnd(ti)*15)
1670 fori=1to4:printchr$(17):next
1680 printtab(7)"feuerknopf fuer ";
1690 print"neues spiel"
1700 ifpeek(56320)<>111then1650
1710 goto1075
1720 print"[147]"
1730 printchr$(19)chr$(30)
1740 printtab(7)"< t r a c k * ";
1750 print"r a c e r >"
1760 printchr$(17)chr$(17)
1770 printtab(2)"steuere dein auto ";
1780 print"mit dem joystick"
1790 printtab(2)"die glatte fahrbahn ";
1800 print"entlang."
1810 printtab(2)"aber pass auf! ";
1820 print"die strasse wird"
1830 printtab(2)"s c h m a l e r ..."
1840 printchr$(17)chr$(17)chr$(17)
1850 printtab(12)"taste druecken"
1855 printchr$(17)tab(12)">a = anfaenger"
1857 printchr$(17)tab(12)">e = experte "
1858 printchr$(17)tab(12)">x = exit to basic"
1860 geta$:ifa$=""then1860
1865 ifa$="a"thengosub3000:goto1870
1866 ifa$="x"thengoto5000
1867 ifa$="e"thengosub4000:goto1870
1868 ifa$<>"e"ora$<>"a"then1860
1870 return
1880 rem
1890 data0,248,0,0,248,0,0,248,0,5,141
1900 data0,7,239,0,5,221,0,1,220,0,1
1910 data252,0,1,140,0,1,36,0,1,116,0,1
1920 data252,0,1,252,0,3,86,0,54,219,96
1930 data55,223,96,63,87,224,54,251,96
1940 data50,2,96,7,255,0,7,255,0
1950 rem
1960 data0,32,0,2,73,52,6,157,193,104
1970 data188,29,131,54,124,44,118,249
1980 data65,231,242,31,227,178,78,8,57
1990 data39,63,156,47,159,30,73,222,124
2000 data36,194,240,73,248,198,19,153
2010 data216,71,205,144,23,15,36,16,103
2020 data72,13,146,80,0,8,144,3,87,32
3000 pokev+23,0:pokev+29,0:return
4000 pokev+23,3:pokev+29,3:return
5000 print"[147]"tab(15)"sicher(j/n)?"
5010 geto$:ifo$=""then5010
5020 ifo$="n"thenrun
5030 ifo$="j"then5050
5040 ifo$<>"j"oro$<>"n"then5010
5050 sys64738